added safety
authorRaymond Penners <pennersr@src.gnome.org>
Tue, 7 Oct 2003 20:53:15 +0000 (20:53 +0000)
committerRaymond Penners <pennersr@src.gnome.org>
Tue, 7 Oct 2003 20:53:15 +0000 (20:53 +0000)
modules/engines/ms-windows/xp_theme.c

index 378e3597263a2913f7bb4dd241f3960b800f0c36..0c64b4daa7fd2982d8fe43e191852cfce211ee19 100755 (executable)
@@ -161,7 +161,8 @@ void
 xp_theme_reset (void)
 {
   xp_theme_close_open_handles ();
-  was_theming_active = (*is_theme_active_func) ();
+  was_theming_active = is_theme_active_func
+    ? (*is_theme_active_func) () : FALSE;
 }
 
 void